//
//  ProdcutDetaiModel.h
//  ChunLaiZhuangClient
//
//  Created by zzs on 16/3/22.
//  Copyright © 2016年 CLZ. All rights reserved.
//

#import "BaseModel.h"
@class ProdcutDetaiSubModel;
@interface ProdcutDetaiModel : BaseModel
@property(nonatomic,strong)ProdcutDetaiSubModel *data;
@end



@interface ProdcutDetaiSubModel : BaseModel
@property(nonatomic,copy)NSString *product_id;
@property(nonatomic,copy)NSString *name;
@property(nonatomic,copy)NSString *special;
@property(nonatomic,copy)NSString *price;
@property(nonatomic,copy)NSString *points;
@property(nonatomic,copy)NSString *stock_status;
@property(nonatomic,copy)NSString *minimum;
@property(nonatomic,assign)BOOL in_wishlist;
@property(nonatomic,copy)NSString *share_url;
@property(nonatomic,copy)NSString *share_title;
@property(nonatomic,copy)NSString *share_text;
@property(nonatomic,copy)NSArray *images;

@property(nonatomic,copy)NSArray *discounts;
@property(nonatomic,copy)NSArray *options;
@property(nonatomic,copy)NSArray *reviews;
@property(nonatomic,copy)NSString *share_image;
@property(nonatomic,strong)NSString *quantity; //商品数量
@end

@interface ProductOptionModel : BaseModel
@property(nonatomic, copy)NSString *product_option_id;
@property(nonatomic, copy)NSString *name;
@property(nonatomic, copy)NSString *type;
@property(nonatomic, copy)NSString *value;
@property(nonatomic, assign)BOOL requied;
@property(nonatomic, strong)NSArray *product_option_value;
@end

@interface ProductOptionValueModel : BaseModel
@property(nonatomic, copy)NSString *product_option_value_id;
@property(nonatomic, copy)NSString *name;
@property(nonatomic, copy)NSString *price;
@property(nonatomic, copy)NSString *price_prefix;
@property(nonatomic, assign) BOOL checked;

@end